package com.qfedu.common.core.exception;

public class CommonException extends RuntimeException {
    private Integer code;
    private String msg;

    public CommonException() {

    }

    public CommonException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public CommonException(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
